﻿<ul>
    <li>The OrderQty.ascx field template uses red foreground color if the OrderQty value is less or equal to the 
        minimun stock threshold (30). It uses blue foreground color if the value is greater or equal to 
        the maximum stock threshold (1500).</li>
    <li>The OrderQty_Edit.ascx field template checks the OrderQty value entered by the user against the 
        absolute range limits [10, 2000]. 
        A custom error message is displayed if you enter a value outside the allowed range.
    </li>
</ul>

Testing instructions:
<ul>
    <li>Testing the OrderQty.ascx field template
    
        <ol>
            <li>On any row, click Edit and for the OrderQty column enter a value that is less 
            than the minimum stock threshold (30), for example 25. 
            On the same row, click Update. 
	        Dynamic Data displays the value you entered in red, meaning that the value is less 
	        than the minimum stock threshold.</li>
            <li>On any row, click Edit and for the OrderQty column enter a value that is 
            greater than the maximum stock threshold (1500), for example 1800. 
            On the same row, click Update. 
	        Dynamic Data displays the value in blue, meaning that the value is greater than the 
	        stock threshold.</li>
        </ol>
    
    </li>
    
    <li>Testing the OrderQty_Edit.ascx field template. 
        <ol>
            <li>On any row, click Edit and for the OrderQty column enter a value that is less 
            than the minimum value (10) for example 5. On the same row, click Update. 
            Dynamic Data displays an error message that says that value entered is less than 
            the allowed minimum value. Click Cancel.</li>
            <li>On any row, click Edit and for the OrderQty column enter a value that is greater than 
	        the maximum value (2000), for example 2800. On the same row, click Update. 
	        Dynamic Data displays an error message that says that the value entered is greater 
	        than the allowed maximum value. On the same row, click Cancel.</li>
        </ol>
    </li>    
</ul>
